from selenium import webdriver
import time
from selenium.webdriver.common.by import By

driver=webdriver.Edge()
driver.maximize_window()
driver.get('https://www.taobao.com/')
time.sleep(5)

#点击请登录
driver.find_element(By.XPATH,'//*[@id="J_SiteNavLogin"]/div[1]/div[1]/a[1]').click()
time.sleep(5)
#输入账号
driver.find_element(By.CLASS_NAME,'fm-text').send_keys('17733058407')
time.sleep(5)
#输入密码
driver.find_element(By.ID,'fm-login-password').send_keys('Li10140910')
time.sleep(20)
#点击登录
driver.find_element(By.XPATH,'//*[@id="login-form"]/div[6]/button').click()
time.sleep(5)